Package com.cisco.pt.ipc.sim.pdu.impl
Class RouterAdvertisementMessageImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCDataImpl
com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
com.cisco.pt.ipc.sim.pdu.impl.PduImpl
com.cisco.pt.ipc.sim.pdu.impl.HeaderImpl
com.cisco.pt.ipc.sim.pdu.impl.ICMPv6MessageImpl
com.cisco.pt.ipc.sim.pdu.impl.NdMessageImpl
com.cisco.pt.ipc.sim.pdu.impl.RouterAdvertisementMessageImpl
- All Implemented Interfaces:
IPCData,Header,ICMPv6Message,NdMessage,Pdu,RouterAdvertisementMessage,Signal
public class RouterAdvertisementMessageImpl
extends NdMessageImpl
implements RouterAdvertisementMessage
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Byteprotected booleanprotected booleanprotected intprotected intprotected ShortFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.NdMessageImpl
optionsFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.ICMPv6MessageImpl
checksum, code, typeFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.HeaderImpl
payloadFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
fieldNames, fieldTable, signalType, typeTable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidencodeTypeAndPayload(EncodedBuffer buffer) getFieldType(String fieldName) booleanbooleanintintvoidpduRead(EncodedBuffer buffer) voidread(EncodedBuffer buffer) Reads this object from an EncodedBuffer of raw datavoidsetCurHopLimit(Byte curHopLimit) voidsetIsManagedConfig(boolean isManagedConfig) voidsetIsOtherConfig(boolean isOtherConfig) voidsetReachableTime(int reachableTime) voidsetRetransTime(int retransTime) voidsetRouterLifetime(Short routerLifetime) Methods inherited from class com.cisco.pt.ipc.sim.pdu.impl.NdMessageImpl
getOptions, setOptionsMethods inherited from class com.cisco.pt.ipc.sim.pdu.impl.ICMPv6MessageImpl
getChecksum, getCode, getType, setChecksum, setCode, setTypeMethods inherited from class com.cisco.pt.ipc.sim.pdu.impl.HeaderImpl
getPayload, setPayloadMethods inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
getFieldValueMethods inherited from class com.cisco.pt.ipc.impl.IPCDataImpl
checkType, pduReadBoolean, pduReadByte, pduReadDouble, pduReadFloat, pduReadInt, pduReadIPAddress, pduReadIPCData, pduReadIPV6Address, pduReadLong, pduReadMACAddress, pduReadPair, pduReadQString, pduReadShort, pduReadString, pduReadUUID, pduReadVector, readBoolean, readByte, readDouble, readFloat, readInt, readIPAddress, readIPCData, readIPV6Address, readLong, readMACAddress, readPair, readQString, readShort, readString, readUUID, readVectorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.sim.pdu.Header
getPayload, setPayloadMethods inherited from interface com.cisco.pt.ipc.sim.pdu.ICMPv6Message
getChecksum, getCode, getType, setChecksum, setCode, setTypeMethods inherited from interface com.cisco.pt.ipc.sim.pdu.NdMessage
getOptions, setOptionsMethods inherited from interface com.cisco.pt.ipc.sim.pdu.Signal
getFieldValue
-
Field Details
-
curHopLimit
-
isManagedConfig
protected boolean isManagedConfig -
isOtherConfig
protected boolean isOtherConfig -
routerLifetime
-
reachableTime
protected int reachableTime -
retransTime
protected int retransTime
-
-
Constructor Details
-
RouterAdvertisementMessageImpl
public RouterAdvertisementMessageImpl()
-
-
Method Details
-
getCurHopLimit
- Specified by:
getCurHopLimitin interfaceRouterAdvertisementMessage- Returns:
- Byte Returns a Byte
-
setCurHopLimit
- Specified by:
setCurHopLimitin interfaceRouterAdvertisementMessage- Parameters:
curHopLimit- Takes in a parameter of curHopLimit
-
getIsManagedConfig
public boolean getIsManagedConfig()- Specified by:
getIsManagedConfigin interfaceRouterAdvertisementMessage- Returns:
- boolean Returns a boolean
-
setIsManagedConfig
public void setIsManagedConfig(boolean isManagedConfig) - Specified by:
setIsManagedConfigin interfaceRouterAdvertisementMessage- Parameters:
isManagedConfig- Takes in a parameter of isManagedConfig
-
getIsOtherConfig
public boolean getIsOtherConfig()- Specified by:
getIsOtherConfigin interfaceRouterAdvertisementMessage- Returns:
- boolean Returns a boolean
-
setIsOtherConfig
public void setIsOtherConfig(boolean isOtherConfig) - Specified by:
setIsOtherConfigin interfaceRouterAdvertisementMessage- Parameters:
isOtherConfig- Takes in a parameter of isOtherConfig
-
getRouterLifetime
- Specified by:
getRouterLifetimein interfaceRouterAdvertisementMessage- Returns:
- Short Returns a Short
-
setRouterLifetime
- Specified by:
setRouterLifetimein interfaceRouterAdvertisementMessage- Parameters:
routerLifetime- Takes in a parameter of routerLifetime
-
getReachableTime
public int getReachableTime()- Specified by:
getReachableTimein interfaceRouterAdvertisementMessage- Returns:
- int Returns a int
-
setReachableTime
public void setReachableTime(int reachableTime) - Specified by:
setReachableTimein interfaceRouterAdvertisementMessage- Parameters:
reachableTime- Takes in a parameter of reachableTime
-
getRetransTime
public int getRetransTime()- Specified by:
getRetransTimein interfaceRouterAdvertisementMessage- Returns:
- int Returns a int
-
setRetransTime
public void setRetransTime(int retransTime) - Specified by:
setRetransTimein interfaceRouterAdvertisementMessage- Parameters:
retransTime- Takes in a parameter of retransTime
-
getFieldType
- Overrides:
getFieldTypein classNdMessageImpl
-
read
Reads this object from an EncodedBuffer of raw data- Specified by:
readin interfaceIPCData- Overrides:
readin classNdMessageImpl- Parameters:
buffer- The EncodedBuffer that contains the raw data from which to construct this object
-
pduRead
- Specified by:
pduReadin interfaceSignal- Overrides:
pduReadin classNdMessageImpl
-
getOrderedFieldNames
- Specified by:
getOrderedFieldNamesin interfaceSignal- Overrides:
getOrderedFieldNamesin classNdMessageImpl
-
encodeTypeAndPayload
- Specified by:
encodeTypeAndPayloadin interfaceSignal- Overrides:
encodeTypeAndPayloadin classNdMessageImpl
-